// 默认处于全局下面
// 如果出现了import或者export 那么这个文件就成为一个外部模块，简称模块
export let name = 'jack'

export const a =1
export const b =2
const c =3
export default 'jack'

export namespace zoo {
	export class Dog { eat() { console.log('zoo dog'); } }
}
export namespace home {
	export class Dog { eat() { console.log('home dog'); } }
}
let dog_of_zoo = new zoo.Dog();
dog_of_zoo.eat();
let dog_of_home = new home.Dog();
dog_of_home.eat();
